<html>
 <head>
 <meta content="text/html; charset=UTF-8" http-equiv="content-type">
 <link rel="stylesheet" type="text/css" href="/css/index.css" media="all">

 <title>测试-列表</title>
 <style type="text/css">
 </style>
 </head>
 <body>
 {T navigation}
 <table>
 <tr>
 <th>{$news->lable('title')}</th>
 <th>{$news->lable('author')}</th>
 <th>{$news->lable('theme')}</th>
 <th>{$news->lable('content')}</th>
 <th>{$news->lable('posttime')}</th>
 <th>删除</th>
 <th>编辑</th>
 </tr>
 {loop $new as $n}
 <tr>
 <td><a href="show-{$n->id}.html">{$n->title}</a></td>
 <td>{$n->author}</td>
 <td>{$n->field_text('theme')}</td>
 <td>{$n->content}</td>
 <td>{date('Y-m-d',$n->posttime)}</td>
 <td>
 <a href="javascript: ;" onclick="if(confirm('确定要删除吗？')){ goto('delete-{$n->id}.html');}">删除</a>
</td>
 <td><a href="edit-{$n->id}.html">编辑</a></td>
 </tr>
 {/loop}
 <tr></tr>
 </table>
 <div style="height:60px;margin-left: 170px;font-size: 12px;">
  <span style="display: inline-block;float:left;padding:20px 0px;">共{$new_num}条记录</span>
 <ul class='ulcss' style="float:left;padding-left:0px;">{P}</ul>
 </div>

 </body>
 </html>